package com.ruoyi.web.controller.openfeignTwo;

import com.ruoyi.common.dto.BikeDTO;
import com.ruoyi.common.dto.BikeDTOB;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

//@FeignClient(name = "fileClientTwo", url = "http://120.26.114.47:81")
//@FeignClient(name = "fileClientThree", url = "http://114.55.40.234:80")
@FeignClient(name = "fileClientThree", url = "http://114.55.40.234:8081")
public interface FileClientTwo {

    @PostMapping("/predict")
    Map<String, Object> getFile(@RequestBody List<BikeDTOB> convertedList);

}
